pp108 : Viewing Scripts

Viewing Scripts

This topic describes the procedure to view the script for an XForm.

The scripts associated with XForms or controls on an XForm help enhance run-time behavior.

  1. Open the XForm in the XForms Designer.
  2. Right-click the control or XForm, and select View Script.

The Script tab opens to display the Script Editor which contains the script for the XForm. In case of a control, the first event handler, if available, is automatically set to focus.

Note:

  • Alternatively, you can click for each individual event in the property sheet of the control. The Script Editor opens to display the basic syntax of the script, which you can modify to define the event.
  • Saving the XForm also saves the edits made to the script.


Related tasks

Writing Scripts for Events
Setting Properties of an XForm